// 物流公司 相关的货代公司
import request from "@/utils/https/requests";
// 列表
export function logFreightForwardingList(data: any) {
  return request({
    url: "/logFreightForwarding/list",
    method: "post",
    data,
  });
}
// 添加
export function postAddLogFreightForwarding(data: any) {
  return request({
    url: "/logFreightForwarding/postAdd",
    method: "post",
    data,
  });
}
// 修改
export function postModLogFreightForwarding(data: any) {
  return request({
    url: `/logFreightForwarding/postMod/${data.id}`,
    method: "post",
    data,
  });
}
// 详情
export function logFreightForwardingDetail(id: string) {
  return request({
    url: `/logFreightForwarding/detail/${id}`,
    method: "post",
  });
}
// 删除
export function postDeleteLogFreightForwarding(id: string) {
  return request({
    url: `/logFreightForwarding/postDelete/${id}`,
    method: "post",
  });
}
